﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface IBindPickingPositionRepository :IBaseRepository<BindPickingPositionModel>
    {
        /// <summary>
        /// 绑定拣选位
        /// </summary>
        /// <param name="position"></param>
        /// <returns></returns>
        bool AddBindPickingPosition(BindPickingPositionModel position,out string msg);

        /// <summary>
        /// 解除拣选位
        /// </summary>
        /// <param name="PickingPosition"></param>
        /// <returns></returns>
        bool DelBindPickingPosition(BindPickingPositionModel position, out string msg);

        /// <summary>
        /// 获取所有拣选位
        /// </summary>
        /// <returns></returns>
        List<PickingPositionModel> GetBindPickingPosition();
    }
}
